﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace June_1st__2021
{
    class Student
    {
        //学生类：学号、姓名、年龄

        public int StuNum { get; set; }
        public string Name { get; set; }
        public int Age { get; set; }

        public Student()
        {

        }

        public Student(int stuNum,string name,int age)
        {
            this.StuNum = stuNum;
            this.Name = name;
            this.Age = age;
        }

        public override string ToString()
        {
            return $"学号：{StuNum} 姓名：{Name} 年龄：{Age}";
        }

    }
}
